var mongoose = require("mongoose");

let recommendShema = new mongoose.Schema({
    '学号':{
         type:String,
         require:true
    },
    '姓名':{
        type:String,
        require:true,
        trim: true
    },
    '性别':{
        type:String,
        require:true,
        trim: true
    },
    '学院':{
        type:String,
        require:true,
        trim: true
    },
    '专业': {
        type: String,
        require: true,
        trim: true
    },
    '省份':{
        type:String,
        require:true,
        trim: true
    },
    'createTime':{
        type: String,
        deafult: '',
        trim: true,
        require:true,
    },
    'isdao':{
        type:Number,
        deafult: 0,
        require:true,
    }
});

module.exports = mongoose.model("studata",recommendShema);